package jiChengHeDuoTai.demo2;

public class Derievd extends Base{
    public int c=3;
    public int a=100;

    public void func(){
        System.out.println("父类的a:"+super.a);
        System.out.println(this.a);
        System.out.println(this.b);
        System.out.println("父类的b:"+super.b);

        Base base=new Base();
        System.out.println(base.b);
        System.out.println(this.c);
    }
}
